package com.ruoyi.ism.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 积分记录对象 ism_integral_record
 * 
 * @author ruoyi
 * @date 2024-07-22
 */
public class IsmIntegralRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 积分记录ID */
    private Long recordId;

    /** 记录类型 */
    private Integer recordType;

    /** 创建时间 */
    @Excel(name = "登记时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 家庭编号 */
    @Excel(name = "家庭编号")
    private String familySn;

    /** 户主名字 */
    @Excel(name = "户主名字")
    private String householderName;

    /** 个人名字 */
    private String personName;

    /** 个人编号 */
    private String personSn;

    /** 手机号码 */
    private String phonenumber;

    /** 兑换前积分 */
    @Excel(name = "兑换前积分")
    private Long integralBefore;

    /** 兑换积分 */
    @Excel(name = "兑换积分")
    private Long integralExchange;

    /** 兑换后积分 */
    @Excel(name = "兑换后积分")
    private Long integralAfter;

    /** 兑换商家 */
    private Long shopId;

    /** 商品ID */
    private Long goodsId;

    /** 备注 */
    @Excel(name = "备注",width = 40)
    private String remark;


    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setRecordType(Integer recordType) 
    {
        this.recordType = recordType;
    }

    public Integer getRecordType() 
    {
        return recordType;
    }
    public void setFamilySn(String familySn) 
    {
        this.familySn = familySn;
    }

    public String getFamilySn() 
    {
        return familySn;
    }
    public void setHouseholderName(String householderName) 
    {
        this.householderName = householderName;
    }

    public String getHouseholderName() 
    {
        return householderName;
    }
    public void setPersonName(String personName) 
    {
        this.personName = personName;
    }

    public String getPersonName() 
    {
        return personName;
    }
    public void setPersonSn(String personSn) 
    {
        this.personSn = personSn;
    }

    public String getPersonSn() 
    {
        return personSn;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setIntegralBefore(Long integralBefore) 
    {
        this.integralBefore = integralBefore;
    }

    public Long getIntegralBefore() 
    {
        return integralBefore;
    }
    public void setIntegralExchange(Long integralExchange) 
    {
        this.integralExchange = integralExchange;
    }

    public Long getIntegralExchange() 
    {
        return integralExchange;
    }
    public void setIntegralAfter(Long integralAfter) 
    {
        this.integralAfter = integralAfter;
    }

    public Long getIntegralAfter() 
    {
        return integralAfter;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("recordType", getRecordType())
            .append("familySn", getFamilySn())
            .append("householderName", getHouseholderName())
            .append("personName", getPersonName())
            .append("personSn", getPersonSn())
            .append("phonenumber", getPhonenumber())
            .append("integralBefore", getIntegralBefore())
            .append("integralExchange", getIntegralExchange())
            .append("integralAfter", getIntegralAfter())
            .append("shopId", getShopId())
            .append("goodsId", getGoodsId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
